home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 22 / PC Actual CD 22.iso / progs / DIRECTOR / data.z / Lists Lingo.dir / Scripts_58_getAt(aLinearList).ls < prev    next >
Encoding:
Text File  |  1997-05-10  |  581 b   |  17 lines

  1. on mouseDown
  2.   global gDefaultLinearList
  3.   doButton()
  4.   if the result = 1 then
  5.     set vListLength to count(gDefaultLinearList)
  6.     set vListPosition to checkPosition(the text of member "Checking Input Field", vListLength)
  7.     if vListPosition <> EMPTY then
  8.       set vListValue to getAt(gDefaultLinearList, vListPosition)
  9.       if stringp(vListValue) then
  10.         set the text of member "Checking Display Field 2" to QUOTE & string(vListValue) & QUOTE
  11.       else
  12.         set the text of member "Checking Display Field 2" to string(vListValue)
  13.       end if
  14.     end if
  15.   end if
  16. end
  17.